package com.sky.domain;

public class User {
	
	private int id;//用户唯一的id，一般在数据库表现在主键，唯一，自动增长
	private String email;
	private String username;
	private String password;
	private String gender;//性别
	private String telephone;//电话
	private String introduce;//个人介绍
	private String imgurl;
	private String activeCode;//邮箱激活码
	private int state;//邮箱激活状态 ，默认0,没有激活， 激活是1
	
	private String  registerTime;//注册时间
	
	public String getImgurl() {
		return imgurl;
	}
	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public String getActiveCode() {
		return activeCode;
	}

	public void setActiveCode(String activeCode) {
		this.activeCode = activeCode;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(String registerTime) {
		this.registerTime = registerTime;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", email=" + email + ", username=" + username + ", password=" + password + ", gender="
				+ gender + ", telephone=" + telephone + ", introduce=" + introduce + ", activeCode=" + activeCode
				+ ", state=" + state + ", registerTime=" + registerTime + "]";
	}
	
	
	
	

}
